package com.sh.sales.happysales.service;

/**
 * Created by zhouyucheng on 2017/9/26.
 */

public class LoginObserable extends Observable<LoginObsever> {
    private static LoginObserable mInstance;

    public static LoginObserable getInstance() {
        if (mInstance == null) {
            mInstance = new LoginObserable();
        }
        return mInstance;
    }

    public void refreshUserSign(int i) {
        for (LoginObsever watcher : mObservers) {
            watcher.refreshUserSign(i);
        }
    }


    @Override
    public void registerListener(LoginObsever observer) {

    }

    @Override
    public void unregisterListener(int index) {

    }

    @Override
    public void unregisterAllListener() {

    }
}
